package com.gzy.demo1.resp;

import com.gzy.demo1.model.Account;
import org.springframework.data.jpa.repository.JpaRepository;

public interface AccountRepository extends JpaRepository<Account,Long> {

    // select * from account where username = ?
    Account findAccountByUsername(String username);

}
